package gui;

import java.awt.Color;

public class SpaceColor 
{
    //color of that space
    private Color color;
    //Distance above given x value that this entity exists.
    private int xOffset;
    //Distance right of given y value that this entity exists.
    private int yOffset;

    public SpaceColor(Color c, int x, int y)
    {
        setColor(c);
        setxOffset(x);
        setyOffset(y);
    }

    /**
     * @return the color
     */
    public Color getColor() {
        return color;
    }

    /**
     * @param color the color to set
     */
    public void setColor(Color color) {
        this.color = color;
    }

    /**
     * @return the xOffset
     */
    public int getxOffset() {
        return xOffset;
    }

    /**
     * @param xOffset the xOffset to set
     */
    public void setxOffset(int xOffset) {
        this.xOffset = xOffset;
    }

    /**
     * @return the yOffset
     */
    public int getyOffset() {
        return yOffset;
    }

    /**
     * @param yOffset the yOffset to set
     */
    public void setyOffset(int yOffset) {
        this.yOffset = yOffset;
    }
}
